package cn.ctodb.cms.service.mapper;

import cn.ctodb.cms.domain.*;
import cn.ctodb.cms.service.dto.CmsModelDTO;

import org.mapstruct.*;
import java.util.List;

/**
 * Mapper for the entity CmsModel and its DTO CmsModelDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface CmsModelMapper {

    CmsModelDTO cmsModelToCmsModelDTO(CmsModel cmsModel);

    List<CmsModelDTO> cmsModelsToCmsModelDTOs(List<CmsModel> cmsModels);

    CmsModel cmsModelDTOToCmsModel(CmsModelDTO cmsModelDTO);

    List<CmsModel> cmsModelDTOsToCmsModels(List<CmsModelDTO> cmsModelDTOs);
}
